package com.zlf.design_pattern.chain_filter.test2.filter.impl;

import com.zlf.design_pattern.chain_filter.test2.FilterChain;
import com.zlf.design_pattern.chain_filter.test2.filter.Filter;
import com.zlf.design_pattern.chain_filter.test2.param.Request;
import com.zlf.design_pattern.chain_filter.test2.param.Response;

/**
 * Created by Administrator on 2017/6/3.
 */
public class CharFilter implements Filter {
    public void doFilter(Request request, Response response, FilterChain filter) {
        System.out.println("CharFilter request");
        filter.doFilter(request,response, filter);
        System.out.println("CharFilter request");
    }
}
